package io;

import java.io.File;
import java.util.Arrays;

public class File4 {

    public static void main(String[] args) {

        File file = new File("./testDir");
        String[] names = file.list();
        System.out.println(Arrays.toString(names));

    }

}
